Post

Replies

Boosts

Views

Activity

Reply to SFSafariViewController behaves differently in MacCatalyst than iOS
Expected behavior still sadly. From the docs: When building apps to support multiple platforms, be aware of behavior differences when presenting an SFSafariViewController from your UI. In Mac apps built with Mac Catalyst, and in compatible iPad and iPhone apps running in visionOS, showing an SFSafariViewController opens the web content in the default web browser instead. You might want to fall back to WKWebView in those scenarios.
Topic: App & System Services SubTopic: General Tags:
Jan ’24
Reply to DocC exclude
I think the only feasible solution now would be to do some post-processing on the DocC catalog. It's all JSON and files so painful but possible. Because previews by their nature aren't referenced from other classes and are top-level structures removal would be 1) killing preview files and 2) parsing/updating referencing JSON.
Oct ’23
Reply to UTType always return nil when testing on M1 Mac simulator with x86 arch
Opened ticket with Apple through Feedback Assistant today. Error message from running UTType..preferredMIMEType returns nil and error in LLDB says "File a bug" :). I'm not optimistic on resolution since it seems like Simulator under Rosetta is not supported at all sadly. Not everyone can easily rebuild for arm64 due to third party dependencies though.
Oct ’22
Reply to ITMS-90562: Invalid Bundle with Xcode 13.3 RC
I found that I had this issue building with xcodebuild but not when building and deploying interactively through Xcode and Organizer. Did not have to adjust bitcode settings and did enable bitcode on upload. Looking at the binary executable, there is a clear 43MB difference in size between the accepted version (bigger) and the command line built version. Would be interested to know if anyone else has seen this.
Mar ’22